package org.example.springaop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SprintAspectConfiguration {

    @Bean
    public MyAspect myAspect() {
        return new MyAspect();
    }

    @Bean
    public OperationLogAspect operationLogAspect() {
        return new OperationLogAspect();
    }

    @Bean
    public MyService myService() {
        return new MyService();
    }

    @Bean
    public SpringAspectRunner springAspectRunner() {
        return new SpringAspectRunner();
    }
}
